import request from '@/utils/request'

export const CreateWorkMistake = (data) => {
  return request({
    url: '/v1/departmentWork/mistake/new/',
    method: 'post',
    data,
  })
}
export const GetMyWorkMistake = (page, page_size) => {
  return request({
    url: '/v1/departmentWork/mistake/my/',
    method: 'get',
    params: { page, page_size },
  })
}
export const GetMistakeStat = (start, end, st) => {
  return request({
    url: '/v1/departmentWork/mistake/statistics/',
    method: 'get',
    params: { start, end, st },
  })
}
